package org.bingdianleil.service;

import java.util.List;

import org.bingdianleil.dao.StockShowDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StockShowService {
	
	@Autowired
	private  StockShowDao stockShowDao;
	
	public List<List<String>> getStock(String stockId,String dataDate) {
		return stockShowDao.getStockList(stockId,dataDate);
	}
	
	
	public List<List<String>> getStock(String stockId,String bgDate,String endDate) {
		return stockShowDao.getStockList(stockId,bgDate,endDate);
	}


 
}
